from django.urls import re_path
from rest_framework.urlpatterns import format_suffix_patterns
from ..views.views_fbv import article_detail,article_list

urlpatterns = [
    re_path(r'^articles/$', article_list),
    re_path(r'^articles/(?P<pk>[0-9]+)$', article_detail),]

urlpatterns = format_suffix_patterns(urlpatterns)